package com.whuan.lambda;

public class lambda1 {
    public static void main(String[] args){
        MyIntegerCalculator myIntegerCalculator = (Integer s1) -> (
            s1+11
            );
        System.out.println("1- Result x2 : " + myIntegerCalculator.calcIt(5));
    }
}
@FunctionalInterface
interface MyIntegerCalculator {

    public Integer calcIt(Integer s1);

    //public String calcIt1(Integer s1);

}
